package com.hs.sfzy.service;

import com.github.pagehelper.PageInfo;
import com.hs.sfzy.entity.Appointment;

import java.util.List;
import java.util.Map;

public interface AppointmentService {
    public List<Appointment> getAppointments(Map map);
    public int addAppointment(Appointment appointment);
    public int deleteAppointment(long id);
    public int updateAppointment(Appointment appointment);
    public Appointment getAppointment(long id);
    public PageInfo<Appointment> getAppointmentByPage(int pageNum, int pageSize, Map map);

    List<Appointment> findAllY();
    List<Appointment> findAllW();
}
